<template>
<div>
  <tab-bar>
      <tab-bar-item path="/home">
        <img slot="item-icon" src="../../../assets/images/tabbar/_home.png" alt="">  
        <img slot="item-icon-activate" src="../../../assets/images/tabbar/home.png" alt="">  
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path="/search">
        <img slot="item-icon" src="../../../assets/images/tabbar/_search.png" alt="">  
        <img slot="item-icon-activate" src="../../../assets/images/tabbar/search.png" alt="">  
        <div slot="item-text">分类</div>
      </tab-bar-item>
      <tab-bar-item path="/cart">
        <img slot="item-icon" src="../../../assets/images/tabbar/_img.png" alt="">  
        <img slot="item-icon-activate" src="../../../assets/images/tabbar/img.png" alt="">  
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path="/about">
        <img slot="item-icon" src="../../../assets/images/tabbar/_my.png" alt="">  
        <img slot="item-icon-activate" src="../../../assets/images/tabbar/my.png" alt="">  
        <div slot="item-text">我的</div>
      </tab-bar-item>
    </tab-bar>
</div>
  
</template>

<script>
import TabBar from '../../common/tabbar/TabBar';
import TabBarItem from '../../common/tabbar/TabBarItem';

export default {
  name:'TabBarMain',
  components: {
    TabBar,
    TabBarItem    
  },
}
</script>

<style>

</style>